<?php
namespace app\common\component\user_wallet_vip_log;

class UserWalletVipLogModel extends \think\Model {
	protected $table = 'league_user_wallet_vip_log';

	public function getTypeAttr($value) {
		$status = [
			1 => '充值续费钱包',
			2 => '自动会员续费'
		];
		return $status[$value];
	}

	public function getIsStateAttr($value) {
		$status = [
			0 => '<span style="color: red;">未审核</span>',
			1 => '<span style="color: blue;">已审核</span>'
		];
		return $status[$value];
	}
}
?>